<?php
/**
 * @auther:周卫星
 * @className:CommonController.php
 * @projectName:train
 * @classDesc:
 * @date:2019/11/4
 * @time:10:48
 */

namespace App\Http\Controllers\common;


use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class CommonController extends Controller
{
    public function getToken(Request $request)
    {
        return $this->returnJson(['code' => 0, 'data' => csrf_token()]);
    }
}
